package com.example.qxfw.mongodb.qx.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Data
@Document(collection = "image_file")
public class QxImageFile{
    /**
     *
     */
    private Object _id;

    /**
     *
     */
    private String advCode;

    /**
     *
     */
    private byte[] data;

    /**
     *
     */
    @Field("id")
    private String id;

    /**
     *
     */
    private String name;

    /**
     *
     */
    private String table_name;

    private static final long serialVersionUID = 1L;

    public Object get_id() {
        return _id;
    }

    public void set_id(final Object _id) {
        this._id = _id;
    }

    public String getAdvCode() {
        return advCode;
    }

    public void setAdvCode(String advCode) {
        this.advCode = advCode;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTable_name() {
        return table_name;
    }

    public void setTable_name(String table_name) {
        this.table_name = table_name;
    }
}

